package com.itguigu.pointcut;

import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component // 将类交给spring管理
public class mypointcut {

    @Pointcut("execution(* com..impl.*.*(..))")
    public void pc1(){}

    @Pointcut(value = "execution(* com..impl.*.*(..))")
    public void pc2(){}

}
